package com.yuanduo_app.wxapi;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import cn.ydxlm.paylib.wx.WxPay;

/**
 * 微信支付回调
 */
public class WXPayEntryActivity  extends Activity  {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WxPay.getInstance().onCreate(getIntent(),this);
    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        setIntent(intent);
        WxPay.getInstance().handleIntent(intent);
    }


}
